package org.jeecg.modules.crm.vo;

import java.util.List;
import org.jeecg.modules.crm.entity.PaymentVoucher;
import org.jeecg.modules.crm.entity.PaymentVoucherNote;
import org.jeecg.modules.crm.entity.PaymentVoucherDetail;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelEntity;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: Payment Voucher
 * @Author: jeecg-boot
 * @Date:   2025-04-30
 * @Version: V1.0
 */
@Data
@ApiModel(value="payment_voucherPage对象", description="Payment Voucher")
public class PaymentVoucherPage {

	/**主键*/
	@ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
	@ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**Company*/
	@Excel(name = "Company", width = 15, dictTable = "company", dicText = "name", dicCode = "id")
    @Dict(dictTable = "company", dicText = "name", dicCode = "id")
	@ApiModelProperty(value = "Company")
    private String company;
	/**P.Voucher Type*/
	@Excel(name = "P.Voucher Type", width = 15, dicCode = "VoucherType")
    @Dict(dicCode = "VoucherType")
	@ApiModelProperty(value = "P.Voucher Type")
    private String voucherType;
	/**Date*/
	@Excel(name = "Date", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "Date")
    private Date voucherDate;
	/**Payment Voucher*/
	@Excel(name = "Payment Voucher", width = 15)
	@ApiModelProperty(value = "Payment Voucher")
    private String paymentVoucher;
	/**Name*/
	@Excel(name = "Name", width = 15)
	@ApiModelProperty(value = "Name")
    private String nam;
	/**ID Type*/
	@Excel(name = "ID Type", width = 15, dicCode = "PayeeType")
    @Dict(dicCode = "PayeeType")
	@ApiModelProperty(value = "ID Type")
    private String idType;
	/**ID*/
	@Excel(name = "ID", width = 15)
	@ApiModelProperty(value = "ID")
    private String voucherId;
	/**To Bank*/
	@Excel(name = "To Bank", width = 15)
	@ApiModelProperty(value = "To Bank")
    private String toBank;
	/**To Bank Account No*/
	@Excel(name = "To Bank Account No", width = 15)
	@ApiModelProperty(value = "To Bank Account No")
    private String bankAccountNo;
	/**To Bank Account SWIFT Code*/
	@Excel(name = "To Bank Account SWIFT Code", width = 15)
	@ApiModelProperty(value = "To Bank Account SWIFT Code")
    private String bankAccountSwiftCode;
	/**Bank Account */
	@Excel(name = "Bank Account ", width = 15)
	@ApiModelProperty(value = "Bank Account ")
    private String bankAccount;
	/**Reference No*/
	@Excel(name = "Reference No", width = 15)
	@ApiModelProperty(value = "Reference No")
    private String referenceNo;
	/**Agent*/
	@Excel(name = "Agent", width = 15)
	@ApiModelProperty(value = "Agent")
    private String agent;
	/**Project */
	@Excel(name = "Project ", width = 15)
	@ApiModelProperty(value = "Project ")
    private String project;
	/**Supplier*/
	@Excel(name = "Supplier", width = 15)
	@ApiModelProperty(value = "Supplier")
    private String supplier;
	/**Payment Voucher Title*/
	@Excel(name = "Payment Voucher Title", width = 15)
	@ApiModelProperty(value = "Payment Voucher Title")
    private String paymentVoucherTitle;
	/**Attachment*/
	@Excel(name = "Attachment", width = 15)
	@ApiModelProperty(value = "Attachment")
    private String attachment;

	@ExcelCollection(name="Payment Voucher Note")
	@ApiModelProperty(value = "Payment Voucher Note")
	private List<PaymentVoucherNote> paymentVoucherNoteList;
	@ExcelCollection(name="Payment Voucher Detail")
	@ApiModelProperty(value = "Payment Voucher Detail")
	private List<PaymentVoucherDetail> paymentVoucherDetailList;

}
